import 'package:airbnb_clone/internal/http/request/get_user_info_request.dart';

import '../../../models/response.dart';
import '../core/hi_net.dart';

class GetUserInfoDao {
  static get(int uid) async {
    GetUserInfoRequest request = GetUserInfoRequest();
    request.add("Uid", uid);
    var result = await HiNet.getInstance().fire(request);
    // print("artcle_view_dao: $result");
    TiebaResponse response = TiebaResponse.fromMap(result);
    return response;
  }
}
